﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Domain.Entities;

namespace WMS.Seven.Models
{
    /// <summary>
    /// 仓库信息
    /// </summary>
    public class WarehouseManagement : Entity<int>
    {
        /// <summary>
        /// 仓库编号
        /// </summary>
        [StringLength(40)]
        public string? WarehouseNumber { get; set; }
        /// <summary>
        /// 仓库名称
        /// </summary>
        [StringLength(40)]
        public string? WarehouseName { get; set; }
        /// <summary>
        /// 租赁时间
        /// </summary>
        public DateTime? LeaseTime { get; set; }
        /// <summary>
        /// 仓库类型
        /// </summary>
        [StringLength(40)]
        public string? WarehouseType { get; set; }
        /// <summary>
        /// 状态
        /// </summary>
        public int? Status { get; set; }
        /// <summary>
        /// 是否默认
        /// </summary>
        public bool? IsDefault { get; set; }
        /// <summary>
        /// 地址
        /// </summary>
        [StringLength(40)]
        public string? Address { get; set; }
        /// <summary>
        /// 面积
        /// </summary>
        public decimal? Area { get; set; }
        /// <summary>
        /// 联系人
        /// </summary>
        [StringLength(40)]
        public string? ContactPerson { get; set; }
        /// <summary>
        /// 电话
        /// </summary>
        [StringLength(40)]
        public string? Phone { get; set; }
        /// <summary>
        /// 创建人
        /// </summary>
        [StringLength(40)]
        public string? Creator { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? CreateDate { get; set; }
        /// <summary>
        /// 修改人
        /// </summary>
        [StringLength(40)]
        public string? ModifiedBy { get; set; }
        /// <summary>
        /// 修改时间
        /// </summary>
        public DateTime? ModifiedDate { get; set; }
    }
}
